﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SoccerSimulator5000
{
    public class DataClass
    {
        public bool initialized {get; set;}
        public Player player {get; set;}
        public Season season { get; set; }
        public Schedule schedule { get; set; }
        public Date date { get; set; }
        public List<Team> teamList { get; set; }
        public Random random { get; set; }
        public int previousSimSpeed { get; set; }
        public int currentRound { get; set; }

        public DataClass()
        {
                this.initialized = Game.initialized;
                this.player = Game.player;
                this.season = Game.season;
                this.schedule = Game.schedule;
                this.date = Game.date;
                this.teamList = Game.teamList;
                this.random = Game.random;
                this.previousSimSpeed = Game.previousSimSpeed;
                this.currentRound = Game.currentRound;

                
        }

        public DataClass(int i)
        {
            this.initialized = false;
            this.player = null;
            this.season = null;
            this.schedule = null;
            this.date = null;
            this.teamList = null;
            this.random = null;
            this.previousSimSpeed = 0;
            this.currentRound = 0;
        }
    }
}
